//
//  UserInputViewController.h
//  random-name-generator
//
//  Created by eewert on 10/19/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NameTypeSelectionViewController.h"


@interface UserInputViewController : UIViewController {
    IBOutlet UITextField *firstNameField;
    IBOutlet UITextField *middleNameField;
    IBOutlet UITextField *ageField;
    IBOutlet UISegmentedControl *genderControl;
    IBOutlet UIButton *continueButton;
    IBOutlet UIButton *clearButton;
    IBOutlet NSDictionary *lexicon;
}

@property (nonatomic, retain) IBOutlet UITextField *firstNameField;
@property (nonatomic, retain) IBOutlet UITextField *middleNameField;
@property (nonatomic, retain) IBOutlet UITextField *ageField;
@property (nonatomic, retain) IBOutlet UISegmentedControl *genderControl;
@property (nonatomic, retain) IBOutlet UIButton *continueButton;
@property (nonatomic, retain) IBOutlet UIButton *clearButton;

@property (nonatomic, retain) IBOutlet NSDictionary *lexicon;

-(IBAction)continueButtonPress;
-(IBAction)clearButtonPress;
-(NSArray *)getListsForLanguage:(NSString *)language;
-(NSString *)getNameForLanguage:(NSString *)language;
-(NSString *)getNameForLanguage:(NSString *)language withGender:(NSInteger)gender;
-(NSString *)getNameForLanguage:(NSString *)language withLooseGender:(NSInteger)gender;
-(void)resetFields;

@end